﻿using System;
using System.Collections;
using System.Collections.Generic;
using DBA.Common;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    
    ///开发者      :    
    ///建立时间    :    2012-8-24 15:52:22
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-8-24 15:52:22
    /// </summary>
    [OrmPropertyAttribute(TableName = "vw_StudentInfo", PrimaryKey = "Id", PrimaryKeyType = "IDENTITY", ParameterType = "int")]
    public class Vw_StudentInfo
    {
        #region 构造函数
        public Vw_StudentInfo() { }

        public Vw_StudentInfo(int id, string Name, short Sex, DateTime Birthday, DateTime InSchoolTime, DateTime GranduateTime, string OutSpecialty, string Degree, string PaperSubject, int EmployeeID, string TeacherName, int Xi_ID, string XiName, int Suo_ID, string SuoName)
        {
            this._id = id;
            this._Name = Name;
            this._Sex = Sex;
            this._Birthday = Birthday;
            this._InSchoolTime = InSchoolTime;
            this._GranduateTime = GranduateTime;
            this._OutSpecialty = OutSpecialty;
            this._Degree = Degree;
            this._PaperSubject = PaperSubject;
            this._EmployeeID = EmployeeID;
            this._TeacherName = TeacherName;
            this._Xi_ID = Xi_ID;
            this._XiName = XiName;
            this._Suo_ID = Suo_ID;
            this._SuoName = SuoName;

        }
        #endregion

        #region 成员
        private int _id;
        private string _Name;
        private short _Sex;
        private DateTime _Birthday;
        private DateTime _InSchoolTime;
        private DateTime _GranduateTime;
        private string _OutSpecialty;
        private string _Degree;
        private string _PaperSubject;
        private int _EmployeeID;
        private string _TeacherName;
        private int _Xi_ID;
        private string _XiName;
        private int _Suo_ID;
        private string _SuoName;
        #endregion

        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int", ParameterLength = 4, IsNull = "0")]
        public virtual int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 40, IsNull = "1")]
        public virtual string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Sex
        {
            get { return _Sex; }
            set { _Sex = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime", ParameterLength = 16, IsNull = "1")]
        public virtual DateTime Birthday
        {
            get { return _Birthday; }
            set { _Birthday = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime", ParameterLength = 16, IsNull = "1")]
        public virtual DateTime InSchoolTime
        {
            get { return _InSchoolTime; }
            set { _InSchoolTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime", ParameterLength = 16, IsNull = "1")]
        public virtual DateTime GranduateTime
        {
            get { return _GranduateTime; }
            set { _GranduateTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 60, IsNull = "1")]
        public virtual string OutSpecialty
        {
            get { return _OutSpecialty; }
            set { _OutSpecialty = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 20, IsNull = "1")]
        public virtual string Degree
        {
            get { return _Degree; }
            set { _Degree = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 200, IsNull = "1")]
        public virtual string PaperSubject
        {
            get { return _PaperSubject; }
            set { _PaperSubject = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int", ParameterLength = 4, IsNull = "1")]
        public virtual int EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 40, IsNull = "1")]
        public virtual string TeacherName
        {
            get { return _TeacherName; }
            set { _TeacherName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int", ParameterLength = 4, IsNull = "1")]
        public virtual int Xi_ID
        {
            get { return _Xi_ID; }
            set { _Xi_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 100, IsNull = "1")]
        public virtual string XiName
        {
            get { return _XiName; }
            set { _XiName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int", ParameterLength = 4, IsNull = "1")]
        public virtual int Suo_ID
        {
            get { return _Suo_ID; }
            set { _Suo_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar", ParameterLength = 100, IsNull = "1")]
        public virtual string SuoName
        {
            get { return _SuoName; }
            set { _SuoName = value; }
        }
        #endregion
    }
}